#include "CMX7164.h"
#include "llc_if.h"
#include "lwip/netif.h"
#include "usart_fast.h"
#include "usart.h"
#include "ParameterValues.h"
/*
int SET_UI_ASYNC_BAUD(int val);
int SET_UI_ASYNC_PARITY(int val);
int SET_UI_ASYNC_DATA(int val);
int SET_UI_ASYNC_STOP(int val);
int SET_UI_ASYNC_FLOW(int val);*/

int SET_UI_SPI_BAUD(int val);
int SET_UI_SPI_DATA(int val);

int SET_UI_UDEF(int val);

int SET_UI_MODE_PORT(int val);

int SET_WL_LINK_CH(unsigned int val);
int SET_WL_LINK_PWRB(int val);
int SET_WL_LINK_PWRL(int val);
int SET_WL_LINK_MOD(unsigned int val);
int SET_WL_LINK_FEC(unsigned int val);
int SET_WL_LINK_PROTOCOL(unsigned int val);
int SET_WL_LINK_SCRAM(unsigned int val);
int SET_WL_LINK_SPACE(unsigned int val);
int SET_WL_LINK_BAUD(unsigned int val);

int SET_ADV_DPORT_PRIME(int val);
int SET_WL_DPORT_INTERFACE_TIMEOUT(unsigned int val);
int SET_ADV_DPORT_ECHO(int val);
int SET_ADV_DPORT_RATE(int val);
int SET_ADV_DPORT_BITS(int val);
int SET_ADV_DPORT_PARITY(int val);
int SET_ADV_DPORT_FLOW(int val);
int SET_ADV_DPORT_STOP(int val);
int SET_ADV_XMOD_IMAGE(int val);
int SET_ADV_XMOD_CFGDN(int val);
int SET_ADV_XMOD_CFGUP(int val);
int SET_ADV_SIM_PRIOR(int val);
int SET_ADV_SIM_PROB(int val);
int SET_ADV_SIM_WTIME(int val);

int SET_ADV_TEST_TSTSGL(int val);
int SET_ADV_TEST_SETFRQ(int val);
/*int SET_WL_LINK_FHPN(int val);
int SET_WL_WIFI_TYPE(int val);
int SET_WL_WIFI_WEP(char* val);
int SET_WL_WIFI_WPA(char* val);
int SET_WL_BT(int val);
*/
int SET_NET_NETPR_BRREG(unsigned int val);
int SET_NET_NETPR_SNMPREG(unsigned int val);
int SET_NET_NETPR_TIMEOUT(unsigned int val);
int SET_NET_WIFI_NETREG(unsigned int val);
int SET_NET_WIFI_ACCPOINTNAME(unsigned int val);
int SET_NET_WIFI_SSID(unsigned int val);
int SET_NET_TCPIP_REG(unsigned int val);
int SET_NET_TCPIP_IPADDRESS(unsigned int val);
int SET_NET_TCPIP_SUBNETMASK(unsigned int val);
int SET_NET_TCPIP_DEFAULTGATEWAY(unsigned int val);
int SET_NET_TCPIP_DNSSERVER(unsigned int val);
int SET_NET_SECURITY_SECURITYTYPE(unsigned int val);
int SET_NET_SECURITY_ENCRYPTIONTYPE(unsigned int val);
int SET_NET_SECURITY_SECURITYKEY(unsigned int val);

/*
int SET_NET_APP_HTTPD(int val);
int SET_NET_APP_TRANS(int val);

int SET_NET_DL_MNG(int val);
int SET_NET_DL_DIST(int val);
//int SET_NET_DL_MOD(int val);
//int SET_NET_DL_FEC(int val);

int SET_NET_MCAST_IP(unsigned int val);
int SET_NET_MCAST_MASK(unsigned int val);
int SET_NET_MCAST_PORT(unsigned int val);
*/
/*
int SET_STATE_STS_SYNC(unsigned int val);
int SET_STATE_STS_RSSI(int val);
int SET_STATE_STS_SNR(int val);
int SET_STATE_STS_EVM(int val);
int SET_STATE_STS_BER(int val);
int SET_STATE_STS_FRQERR(int val);
int SET_STATE_STS_UCHAN(int val);
int SET_STATE_STAT_TXCNT(unsigned int val);
int SET_STATE_STAT_RXCNT(unsigned int val);
int SET_STATE_STAT_ERRCNT(unsigned int val);
int SET_STATE_SYSSTS_PWRIN(int val);
int SET_STATE_SYSSTS_PGOOD(unsigned int val);
int SET_STATE_SYSSTS_TEMP(int val);
*/

int SET_OPS_ID_USER(char* val);
int SET_OPS_ID_UNIT(char* val);
int SET_OPS_ID_LOC(char* val);

int SET_OPS_PWRS_MODE(int val);
/*int SET_OPS_PWRS_TIMER(int val);
int SET_OPS_PWRS_UART(int val);
int SET_OPS_PWRS_USB(int val);
int SET_OPS_PWRS_BT(int val);
int SET_OPS_PWRS_WIFI(int val);
int SET_OPS_PWRS_UHF(int val);
int SET_OPS_PWRS_PIN(int val);
int SET_OPS_PWRS_LVL(int val);
*/
int SET_OPS_PWRS_QUIET(int val);
int SET_OPS_PWRS_RTC(int val);

int SET_Current_Channel_FREQ(unsigned int val);
